package com.rgp.apidriver.service.impl;

import com.rgp.apidriver.feign.ServiceDriverUserClient;
import com.rgp.apidriver.service.DriverPointsService;
import com.rgp.internalcommon.dto.PointsDto;
import com.rgp.internalcommon.dto.ResponseResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author nhp
 * @version 1.0
 * @description TODO
 * @date 2024-04-20 2:36
 */
@Service
public class DriverPointsServiceImpl implements DriverPointsService {

    @Autowired
    private ServiceDriverUserClient serviceDriverPointsClient;

    @Override
    public ResponseResult uploadPoints(PointsDto pointsDto) {
        return serviceDriverPointsClient.uploadPoints(pointsDto);
    }
}
